TechDraw Templates/ru

Other languages:

Обзор

Every TechDraw page is based on a Template object. The Template provides an area in the page background to insert views, symbols, and other annotation objects, and defines its paper size. Only elements within the drawing area will be rendered for export or printing.

The Template can also hold graphics like a frame defining the drawing area including index fields, folding marks, and optionally a title block that in turn contains fixed and editable texts. The title block can also be inserted separately as a symbol.

Templates, like symbols, are SVG files which can be created and modified outside of FreeCAD, either with an application such as Inkscape, or with a simple text editor. Both can contain editable text fields but they use different edit tools.

A new autofill  tool (introduced in version 1.0) can automatically fill editable text fields in a template when it is inserted. This requires templates that use the new freecad:autofill attribute. The following attribute names are valid for autofill: "author", "date", "organization", "scale", "sheet", "title", "page_number", and "page_count".

Свойства

See also: Property editor.

A Template object has the following properties:

Base

Page Properties

Template

Select a different template file

To select a different template for a drawing:

  1. Locate the desired Page object in the Tree view.
  2. Expand the Page node if necessary.
  3. Select the Template object.
  4. In the Property editor click in the ДанныеTemplate property field.
  5. Press the ... (ellipsis) button that appears.
  6. A file dialog opens the folder the current template is located in. If the Page was created in the current FreeCAD session this will be the default template folder (as set in the TechDraw Preferences).
  7. Optionally browse to another folder.
  8. Select a different template file.
  9. Press the OK button.

If you have modified a template file and want to update a Page created in the current FreeCAD session that uses this template, temporarily select a different file first, and then select the modified file again.

Custom Templates

A limited number of pre-formatted templates in various standard page sizes are included with FreeCAD. These are found in

$INSTALL_DIR/Mod/TechDraw/Templates/

Where $INSTALL_DIR is the directory where FreeCAD was installed, for example

/usr/share/freecad/Mod/TechDraw/Templates/

Custom templates can also be specified as a default in the TechDraw Preferences.

See also How to make a custom TechDraw template, or, if you prefer script generated templates, TechDraw TemplateGenerator and Macro TemplateHelper.

Примечания